package hutool.datasource;

import cn.hutool.db.Db;
import cn.hutool.db.Entity;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/5/21 17:41
 * @since JDK 1.8
 */
public class DBTest {

    public static void main(String[] args) throws SQLException {
        List<Entity> maps=Db.use().findAll("Test");
        maps.forEach(e->{
            System.out.println(e);
        });
    }





}
